package com.ybwh.springboot2.mapstruct;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * <p>
 *
 * </p>
 *
 * @author fanbeibei
 * @version 1.0.0
 * @date 2022/3/13 11:13
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class User {
    private Long id;

    private String name;

    private SexEnum sex;

    private String birthDay;

    private String income;

    private Pos pos;

    private int age;

    public User(Long id, String name, SexEnum sex, String birthDay, String income, Pos pos) {
        this.id = id;
        this.name = name;
        this.sex = sex;
        this.birthDay = birthDay;
        this.income = income;
        this.pos = pos;
    }
}
